package cn.imu.appdevexperiment2020._2activity;

import android.content.Intent;
import android.os.Bundle;

import androidx.annotation.Nullable;

import butterknife.OnClick;
import cn.imu.appdevexperiment2020.R;
import cn.imu.appdevexperiment2020.common.BaseActivity;

/**
 * 描述:
 *
 * @author chenconghua
 * @version 1.0
 * @create 2022-11-05 17:48
 */
public class _2MainActivity extends BaseActivity {
   @Override
   protected void onCreate(@Nullable Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_2main);
   }



   @OnClick(R.id.btn_2_1)
   public void btn1(){
      Intent intent = new Intent(_2MainActivity.this,ViewActivity.class);
      startActivity(intent);

   }
   @OnClick(R.id.btn_2_2)
   public void btn2(){
      Intent intent = new Intent(_2MainActivity.this,ListViewActivity.class);
      startActivity(intent);
   }
   @OnClick(R.id.btn_2_3)
   public void btn3(){
      Intent intent = new Intent(_2MainActivity.this,ListView2Activity.class);
      startActivity(intent);
   }
   @OnClick(R.id.btn_2_4)
   public void btn4(){
      Intent intent = new Intent(_2MainActivity.this,RecyclerViewActivity.class);
      startActivity(intent);
   }
   @OnClick(R.id.btn_2_5)
   public void btn5(){
      Intent intent = new Intent(_2MainActivity.this,LinearLayoutActivity.class);
      startActivity(intent);
   }
   @OnClick(R.id.btn_2_6)
   public void btn6(){
      Intent intent = new Intent(_2MainActivity.this,RelativeLayoutActivity.class);
      startActivity(intent);
   }



}
